package com.zb.vo;

import com.zb.annotation.NumberPattern;
import com.zb.result.PageUtil;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Author WEN
 * @Date 2023/8/9 0009
 **/
@Data
@ApiModel("用户列表条件查询封装")
public class UserSelectVo extends PageUtil {
    @NumberPattern(regexp = "^(0|1|2)$", message = "用户状态不合法！")
    @ApiModelProperty(value = "用户状态：0-正常，1-冻结，2-禁用")
    private Integer status;

    @ApiModelProperty(value = "用户级别ID")
    private Long levelId;

    @ApiModelProperty(value = "用户分类ID")
    private Long userTypeId;

    @ApiModelProperty(value = "账号关键词搜索：客户编码/账号昵称/登录账号")
    private String userSearch;

    @ApiModelProperty(value = "联系人搜索关键词：联系人姓名/手机号")
    private String userContactSearch;
}
